package com.wgchao.authprovider.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.*;
import java.util.Date;

/**
 * @Description  
 * @Author  Wgchao
 * @Date 2019-08-10 
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table ( name ="sys_agency" )
public class SysAgency  implements Serializable {

	private static final long serialVersionUID =  4225426597111540717L;

	/**
	 * 机构编号
	 */
   	@Column(name = "agency_id" )
	private Long agencyId;

	/**
	 * 创建用户编号
	 */
   	@Column(name = "create_user" )
	private Long createUser;

	/**
	 * 更新用户编号
	 */
   	@Column(name = "update_user" )
	private Long updateUser;

	/**
	 * 机构名称
	 */
   	@Column(name = "agncy_name" )
	private String agncyName;

	/**
	 * 机构地址
	 */
   	@Column(name = "address" )
	private String address;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 删除时间
	 */
   	@Column(name = "del_time" )
	private Date delTime;

}
